package org.jeecg.modules.lab.chemical.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 领用标准物质清单
 * @Author: jeecg-boot
 * @Date:   2023-08-15
 * @Version: V1.0
 */
@Data
@TableName("lab_chemical_used_describe")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lab_chemical_used_describe对象", description="领用标准物质清单")
public class LabChemicalUsedDescribe  implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**标准物质名称*/
	@Excel(name = "标准物质名称", width = 15)
    @ApiModelProperty(value = "标准物质名称")
    private String name;
	/**标准物质类别*/
	@Excel(name = "标准物质类别", width = 15)
    @ApiModelProperty(value = "标准物质类别")
    private String type;
	/**标准物质批号*/
	@Excel(name = "标准物质批号", width = 15)
    @ApiModelProperty(value = "标准物质批号")
    private String batch;
	/**纯度/标准值*/
	@Excel(name = "纯度/标准值", width = 15)
    @ApiModelProperty(value = "纯度/标准值")
    private String purity;
	/**生产厂家*/
	@Excel(name = "生产厂家", width = 15)
    @ApiModelProperty(value = "生产厂家")
    private String factory;
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String specs;
	/**当前库存量*/
	@Excel(name = "当前库存量", width = 15)
    @ApiModelProperty(value = "当前库存量")
    private Double inventoryNow;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unity;
	/**归还入库量*/
	@Excel(name = "归还入库量", width = 15)
    @ApiModelProperty(value = "归还入库量")
    private Double putNumber;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;
	/**出库量*/
	@Excel(name = "出库量", width = 15)
    @ApiModelProperty(value = "出库量")
    private Double outNumber;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String units;
	/**领用业务id*/
	@Excel(name = "领用业务id", width = 15)
    @ApiModelProperty(value = "领用业务id")
    private String usedId;
	/**标准物质id*/
	@Excel(name = "标准物质id", width = 15)
    @ApiModelProperty(value = "标准物质id")
    private String chemicalId;
}
